package com.project.smarthome.common.util;

/**
 * Created by L on 2017/5/22.
 */

public class AirUtil {

    public static String getModeName(String type){
        switch (type){
            case "AUTO":return "自动";
            case "AIR_SUPPLY":return "送风";
            case "HOT":return "制热";
            case "COLD":return "制冷";
            case "CLEAN":return "换气";
            case "DEHUMIDIFICATION":return "除湿";
            case "WIND" :
                return "通风";
            default:return "未知";
        }
    }
    public static String getFanName(String type){
        switch (type){
            case "LOW":return "低风";
            case "MID":return "中风";
            case "HIGH":return "高风";
            case "AUTO":return "自动";
            default:return "未知";
        }
    }
}
